package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.logic.bussiness.DaoHelper;
import com.yanqu.road.entity.player.UserPass;

public class UserPassBussiness {

	public static UserPass getUserPass(long userId) {
		return DaoHelper.getUserPassDaoImpl().getUserPass(userId);
	}

	public static boolean addUserPass(UserPass userPass) {
		return DaoHelper.getUserPassDaoImpl().add(userPass);
	}

	public static boolean updateUserPass(UserPass userPass) {
		return DaoHelper.getUserPassDaoImpl().update(userPass);
	}
}
